package com.project.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 客户实体类
 */
@Data
@NoArgsConstructor
@TableName("t_client")
public class ClientBean {
    @TableId(value = "pk_clientId",type = IdType.AUTO)
    private Integer id;
    @TableField("c_name")
    private String name;
    /**
     * 负责人
     */
    @TableField("c_headerName")
    private String headerName;
    /**
     * 负责人电话
     */
    @TableField("c_headerPhone")
    private String headerPhone;

    @TableField("c_address")
    private String address;
    @TableField("c_email")
    private String email;
    /**
     * 经营范围
     */
    @TableField("c_ranges")
    private String ranges;



    @Override
    public String toString() {
        return "Client{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", headerName='" + headerName + '\'' +
                ", headerPhone='" + headerPhone + '\'' +
                ", address='" + address + '\'' +
                ", email='" + email + '\'' +
                ", ranges='" + ranges + '\'' +
                '}'+"\n";
    }
}
